package com.udi.project.business.base.service;

import com.udi.project.business.base.domain.BaseCorpVo;
import com.udi.project.system.post.domain.Post;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BaseCorpService {
    public List<BaseCorpVo> selectcorplist(BaseCorpVo name);
    public BaseCorpVo selectCorpById(Integer id);
    public int insert_corp(BaseCorpVo baseCorpVo);
    public int del_corp(String ids);
    public int updateCorp(BaseCorpVo baseCorpVo);

    public List<BaseCorpVo> selectzcbarlist(BaseCorpVo baseCorpVo);
    public BaseCorpVo selectZcbaById(Integer id);
    public int insert_zcba(BaseCorpVo baseCorpVo);
    public int del_zcba(String ids) throws Exception;
    public int updateZcba(BaseCorpVo baseCorpVo);


    public List<BaseCorpVo> getdept(String id);

    public String checkDeptNameUnique(BaseCorpVo baseCorpVo);
    public String checkTyshxydmUnique(BaseCorpVo baseCorpVo);
    public String checkCorpCodeUnique(BaseCorpVo baseCorpVo);

    public String checkZcbahUnique(BaseCorpVo baseCorpVo);
    public String checkZcbacpmcUnique(BaseCorpVo baseCorpVo);
}
